<!--
 * @Author: your name
 * @Date: 2021-10-16 09:06:19
 * @LastEditTime: 2021-10-16 09:14:53
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /a1902-a-group/admin_pc/src/component/MyMixin.vue
-->
<template>
  <div>
    {{name}}

    <button @click="updatas">点击</button>      
  </div>
</template>

<script>

import {myMixins} from '../mixin/home'
// mixin定义的data内的变量 和 本身自己的 data 内的变量 会合并，本身的data 高于 mixin
export default {
    mixins: [myMixins],
    data() {
        return {
            name: 'zxd',
        }
    },
    methods: {
        
    },
}
</script>

<style>

</style>